import os
import sys

# 请在此输入您的代码

n, m, k = map(int, input().split())


def check(x):
    cnt = 0
    for i in range(1, n + 1):
        cnt += min(x // i, m)
    return cnt


left, right = 1, m * n
ans = 0
while left <= right:
    mid = (left + right) // 2
    if check(mid) >= k:
        right = mid - 1
        ans = mid
    else:
        left = mid + 1

print(ans)
